package com.yuanhao.securitydemo.dot;

public class TempUser {

    private String userName;
    private String password;
    private String type;
    private String group;
    private boolean flag;
    private String groupType;

    public TempUser() {
    }

    public TempUser(String userName, String password, String type, String group, boolean flag) {
        this.userName = userName;
        this.password = password;
        this.type = type;
        this.group = group;
        this.flag = flag;
    }

    public TempUser(String userName, String password, String type, String group, boolean flag, String groupType) {
        this.userName = userName;
        this.password = password;
        this.type = type;
        this.group = group;
        this.flag = flag;
        this.groupType = groupType;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public boolean isFlag() { return flag; }

    public void setFlag(boolean flag) { this.flag = flag; }

    public String getGroupType() { return groupType; }

    public void setGroupType(String groupType) { this.groupType = groupType; }

    @Override
    public String toString() {
        return "TempUser{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", type='" + type + '\'' +
                ", group='" + group + '\'' +
                ", flag=" + flag +
                ", groupType='" + groupType + '\'' +
                '}';
    }
}
